﻿using System;

namespace Hsenl {
    public interface IDBSerialize {
        public byte[] Serialize(object obj);
        public byte[] Serialize<T>(T t);
        public T Deserialize<T>(byte[] data);
        public object Deserialize(byte[] data, Type type);
    }
}